<div id="main-col-small" class="div">
		<div class="mainColInner">
			<div class="subPageHeader">
				<h1><?=Yii::t('users','setting userinfo');?></h1>
			</div>
			
<?php 
$form = $this->beginWidget('CActiveForm', array(
			'id'=>'UserinfoForm',
			'method'=>'post',
//			'enableAjaxValidation'=>true,
			'htmlOptions'=>array('class'=>'users')));
?>	
			<div class="over-hidden">
				<div class="over-hidden mg-b-10">
					<?php echo $form->labelEx($model->user,'username');?>
					<div class="float-left">
						<div class="input text">
						<?php echo $form->textField($model->user,'username',array('disabled'=>true));?>
						</div>
					</div>
	   			</div>			
	    		<div class="over-hidden mg-b-10">
	    			<?php echo $form->labelEx($model->user,'email');?>
	    			<div class="float-left">
	    				<div class="input text">
		    			<?php echo $form->textField($model->user,'email',array('disabled'=>true));?>
		    			</div>
	    			</div>
				</div>
				<div class="over-hidden mg-b-10">
					<?php echo CHtml::label(null, null, array('class'=>'lefe'))?>
					<div class="float-left">
		    			<div class="input checkbox">
			   				<?php echo $form->checkBox($model,'ismail');?>
			   				<?php echo $model->getAttributeLabel('ismail');?>
			   				<?php echo $form->error($model,'ismail');?>
			   			</div>
	    			</div>
				</div>
	   			<div class="over-hidden mg-b-10">
			   		<?php echo $form->labelEx($model,'sex');?>
			   		<div class="float-left">
			   			<?php echo $form->dropDownList($model,'sex',array('1'=>Yii::t('users','men'),'2'=>Yii::t('users','women')));?>
		    			<?php echo $form->error($model,'sex'); ?>
			   		</div>
				</div>
				<div class="over-hidden mg-b-10">
			   		<?php echo $form->labelEx($model,'age');?>
			   		<div class="float-left">
			   			<?php $ageList = array(); for($i=18;$i<=60;$i++) $ageList[$i]=$i; 
			   			echo $form->dropDownList($model,'age',$ageList);?>
		    			<?php echo $form->error($model,'age'); ?>
			   		</div>
				</div>
				<div class="over-hidden mg-b-10">
			   		<?php echo $form->labelEx($model,'profile');?>
			   		<div class="float-left" style="padding:5px 0;">
			   			<?php echo $form->fileField($model,'profile');?>
		    			<?php echo $form->error($model,'profile'); ?>
			   		</div>
				</div>
	 			<div class="over-hidden mg-b-10">
	  				<?php echo CHtml::label(null, null)?>
	  				<div class="float-left">
	  					<div class="submit">
	  					<?php  echo CHtml::submitButton(Yii::t('users','submit modify'),array('class'=>'btn btn_m')); ?>
	  					</div>
	  				</div>
	 			</div>
 			<?php $this->endWidget(); ?>
 		</div>
	</div>
</div>
<div id="side-col" class="float-right">
<?php $this->widget('TagOwner',array('owner'=>Yii::app()->user->name))?>
</div>
